<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://unpkg.com/react@16/umd/react.development.js"></script>
    <script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
</head>
<body>
    <div id="app"></div>

    <script>
        ReactDOM.render(
            '<h1>Hello React!</h1>', // 这里的内容不会作为html进行解析，只会作为普通的字符串内容
            document.getElementById('app')
        );
    </script>
</body>
</html>
